package com.ExaminStudy.YuanMianJI;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请你输入圆半径");
        double r=sc.nextDouble();
        Yuan yuan = new Yuan(r);
        System.out.println(yuan.getArea());
        System.out.println(yuan.getPerimeter());
    }
}
